// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.idea.k2.intentions.tests;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("code-insight/intentions-k2/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("../../../idea/tests/testData/navigation/gotoTestOrCode")
public class K2GotoTestOrCodeActionTestGenerated extends AbstractK2GotoTestOrCodeActionTest {
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public final KotlinPluginMode getPluginMode() {
        return KotlinPluginMode.K2;
    }

    private void runTest(String testDataFilePath) throws Exception {
        KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
    }

    @TestMetadata("fromJavaClassToTest.main.java")
    public void testFromJavaClassToTest() throws Exception {
        runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromJavaClassToTest.main.java");
    }

    @TestMetadata("fromJavaTestToKotlinClass.main.java")
    public void testFromJavaTestToKotlinClass() throws Exception {
        runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromJavaTestToKotlinClass.main.java");
    }

    @TestMetadata("fromJavaTestToKotlinFile.main.java")
    public void testFromJavaTestToKotlinFile() throws Exception {
        runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromJavaTestToKotlinFile.main.java");
    }

    @TestMetadata("fromKotlinClassToCommonTest.main.kt")
    public void testFromKotlinClassToCommonTest() throws Exception {
        runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromKotlinClassToCommonTest.main.kt");
    }

    @TestMetadata("fromKotlinClassToTest.main.kt")
    public void testFromKotlinClassToTest() throws Exception {
        runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromKotlinClassToTest.main.kt");
    }

    @TestMetadata("fromKotlinFileToJavaFacade.main.kt")
    public void testFromKotlinFileToJavaFacade() throws Exception {
        runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromKotlinFileToJavaFacade.main.kt");
    }

    @TestMetadata("fromKotlinFileToTest.main.kt")
    public void testFromKotlinFileToTest() throws Exception {
        runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromKotlinFileToTest.main.kt");
    }

    @TestMetadata("fromKotlinJvmFileToJavaFacadeTest.main.kt")
    public void testFromKotlinJvmFileToJavaFacadeTest() throws Exception {
        runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromKotlinJvmFileToJavaFacadeTest.main.kt");
    }

    @TestMetadata("fromKotlinTestToJavaClass.main.kt")
    public void testFromKotlinTestToJavaClass() throws Exception {
        runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromKotlinTestToJavaClass.main.kt");
    }

    @TestMetadata("fromKotlinTestToKotlinClass.main.kt")
    public void testFromKotlinTestToKotlinClass() throws Exception {
        runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromKotlinTestToKotlinClass.main.kt");
    }

    @TestMetadata("fromKotlinTestToKotlinFile.main.kt")
    public void testFromKotlinTestToKotlinFile() throws Exception {
        runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromKotlinTestToKotlinFile.main.kt");
    }
}
